html {
  font-family: 'PingFang SC', 'Microsoft YaHei UI', '微软雅黑', Helvetica, Arial,
    sans-serif;
}

* {
  list-style: none;
  margin: 0;
  padding: 0;
  // font-size: 14px;
}

.safe_edu_upload {
  display: inline-flex;
  flex-flow: row wrap;
  font-size: 14px;
  border-radius: 4px;
  line-height: 1;
  // background: #f7f8fa;
  column-gap: 18px;
  align-items: center;
  // 上传框
  .upload_card_box {
    color: rgb(102, 102, 102);
    background-color: rgba(0, 0, 0, 2%);
    border-radius: 4px;
    border: 1px dashed #d9d9d9;
    transition: all 0.3s;

    &:hover {
      border-color: #f66e2c;
    }

    &.disabled {
      color: rgba(102, 102, 102, 25%);
      cursor: not-allowed;

      &:hover {
        border-color: #d9d9d8;
      }
    }

    .card_box_item {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      width: 100%;
      height: 100%;
      // 初始化
      &.item_initial {
        text-align: center;
      }

      .upload_input {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
      }
      // 准备上传
      &.item_preparing {
      }
      //上传中
      &.item_uploading {
        .uploading_operation {
          margin-top: 16px;

          .operation_item {
            cursor: pointer;

            .item_icon {
              margin-right: 6px;
            }

            &:hover {
              color: #f66e2c;
            }
          }
        }
      }
    }
  }
  // 预览
  .view_box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    position: relative;

    .box_close {
      position: absolute;
      font-size: 20px;
      right: -10px;
      top: -10px;
      color: #666;
    }
  }
  // 提示信息
  .upload_warning {
    color: #666;
    font-size: 12px;
    line-height: 200%;
  }
}
